<!--<div class="card">
    <titlemenu></titlemenu>
    <div activate-input activate-select class="body">
        <div ng-include="'../main/partyExpand/joinUser/usermodel.html'"></div>
        <br>
        <form class="form-horizontal" role="form" name="editForm" novalidate>
            <h2 class="card-inside-title">党组织派人谈话</h2>
            <div class="row clearfix">
                <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1 form-control-label">
                    <label>谈话时间</label>
                </div>
                <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
                    <div class="form-group">
                        <div class="form-line"
                             ng-class="{ 'focused error' : this.editForm.talktime.$invalid &&  this.editForm.$submitted}">
                            <input name="talktime" class="form-control"
                                   autocomplete="off"
                                   autoclose="true"
                                   data-date-format="yyyy-MM-dd" data-date-type="date"
                                   ng-model="dataModel.talktime"
                                   placeholder="" bs-datepicker ng-required="true"/>
                        </div>
                        <label ng-show="this.editForm.jointime.$invalid &&  this.editForm.$submitted"
                               class="error">必填.</label>
                    </div>
                </div>
                <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1 form-control-label">
                    <label>进度完成时间</label>
                </div>
                <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
                    <div class="form-group">
                        <div class="form-line"
                             ng-class="{ 'focused error' : this.editForm.progresstime.$invalid &&  this.editForm.$submitted}">
                            <input name="progresstime" class="form-control"
                                   autocomplete="off"
                                   autoclose="true"
                                   data-date-format="yyyy-MM-dd" data-date-type="date"
                                   ng-model="dataModel.progresstime"
                                   placeholder="" bs-datepicker ng-required="true"/>
                        </div>
                        <label ng-show="this.editForm.progresstime.$invalid &&  this.editForm.$submitted"
                               class="error">必填.</label>
                    </div>
                </div>
            </div>
            <div class="table-responsive list-table-panel">
                <div class="list-table-title">
                    <div class="table-title">
                        谈话人
                    </div>
                    <div class="table-tool">
                        <button type="button" class="btn btn-primary dropdown-toggle"
                                data-dataoptions="selectUserlist" title="选择成员"
                                ng-click="addUser()"
                                bsselectdata-pro>
                            选择
                        </button>
                    </div>
                </div>
                <table class="table table-bordered">
                    <thead>
                    <tr>
                        <th class="text-center" style="width: 100px;">序号</th>
                        <th>谈话人</th>
                        <th>职务</th>
                        <th style="width: 100px;">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="it in talkuserList">
                        <td scope="row">{{$index+1}}</td>
                        <td>
                            {{it.USERNAME}}
                        </td>
                        <td>
                            {{it.POSITION}}
                        </td>
                        <td class="text-center">
                            <button class="btn td-btn bg-pink waves-effect"
                                    ng-click="delUser($index)" title="删除">
                                删除
                            </button>
                        </td>
                    </tr>
                    <tr ng-if="userList.length<=0">
                        <td colspan="4" style="text-align:center">暂无数据</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="row clearfix" style="padding-top:20px;">
                <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1 form-control-label">
                    <label>派人谈话记录</label>
                </div>
                <div class="col-lg-11 col-md-11 col-sm-11 col-xs-11" style="display: flex;">
                    <div class="form-group">
                        <div class="form-line" style="width: 300px;">
                            <select class="form-control show-tick"
                                    ng-model="applyModelId"
                                    ng-options="type.WORDTEMPLATEID as type.TITLE for type in applyModelList"
                                    class="form-control"
                                    name="applyModelName">
                                <option value="" selected>&#45;&#45;请选择&#45;&#45;</option>
                            </select>
                        </div>
                    </div>
                    <button type="button" class="btn btn-primary dropdown-toggle" title="导出word"
                            ng-click="exportWord()">
                        导出word
                    </button>
                </div>
            </div>
            <div class="row clearfix">
                <div class="col-lg-12 col-md-12">
                    <textarea ng-model="dataModel.talkcontent" ui-ueditor style="width: 99%;padding-left: 10px;"></textarea>
                </div>
            </div>
            <div class="row clearfix" style="padding-top:10px;">
                <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1 form-control-label">
                    <label>思想汇报</label>
                </div>
                <div class="col-lg-11 col-md-11 col-sm-11 col-xs-11" style="padding-left: 0px;padding-right: 30px;">
                    <textarea ng-model="dataModel.reportcontent" style="width: 100%;" rows="5"></textarea>
                </div>
            </div>
            <div class="table-responsive list-table-panel" style="margin-bottom: 20px;">
                <bsfiles ng-model="reqFileModel" />
            </div>
            <div class="form_foot" style="margin-top: 10px;">
                <button type="button" class="btn btn-default" ng-click="pagechange();">返回</button>
                <button type="submit"
                        class="btn btn-primary"
                        ng-click="submitData(this.editForm.$valid)">提交
                </button>
            </div>
        </form>

    </div>
</div>-->

<titlemenu></titlemenu>
<div class="dj-card">
    <div class="dj-body" activate-input activate-select>
        <form role="form" name="editForm" novalidate>
            <div ng-include="'../main/partyExpand/joinUser/usermodel.html'"></div>
            <div panel-title data-title="'党组织派人谈话'"></div>
            <div class="dj-formtable">
                <table class="dj-table">
                    <tr>
                        <th>谈话时间<span style="color: red;">*</span></th>
                        <td ng-class="{ 'has-error' : this.editForm.talktime.$invalid &&  this.editForm.$submitted}">
                            <input name="talktime" class="form-control"
                                   autocomplete="off"
                                   autoclose="true"
                                   data-date-format="yyyy-MM-dd" data-date-type="date"
                                   ng-model="dataModel.talktime"
                                   placeholder="" bs-datepicker ng-required="true"/>
                            <span ng-show="this.editForm.talktime.$invalid &&  this.editForm.$submitted"
                                  class="error">必填.</span>
                        </td>
                        <th>进度完成时间<span style="color: red;">*</span></th>
                        <td ng-class="{ 'has-error' : this.editForm.progresstime.$invalid &&  this.editForm.$submitted}">
                            <input name="progresstime" class="form-control"
                                   autocomplete="off"
                                   autoclose="true"
                                   data-date-format="yyyy-MM-dd" data-date-type="date"
                                   ng-model="dataModel.progresstime"
                                   placeholder="" bs-datepicker ng-required="true"/>
                            <span ng-show="this.editForm.progresstime.$invalid &&  this.editForm.$submitted"
                                  class="error">必填.</span>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="dj-formtable">
                <div class="table-responsive list-table-panel">
                    <div class="list-table-title">
                        <div class="table-title">
                            谈话人<span style="color: red;">*</span>
                        </div>
                        <div class="table-tool">
                            <button type="button" class="btn btn-primary dropdown-toggle"
                                    data-dataoptions="selectUserlist" title="选择成员"
                                    bsselectdata-pro>
                                选择
                            </button>
                            <button type="button" class="btn btn-primary dropdown-toggle" title="添加"
                                    ng-click="addUser()">
                                添加
                            </button>
                        </div>
                    </div>
                    <table class="table table-bordered">
                        <thead>
                        <tr>
                            <th class="text-center" style="width: 100px;">序号</th>
                            <th>谈话人</th>
                            <th>职务</th>
                            <th style="width: 100px;">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr ng-repeat="it in talkuserList">
                            <td class="text-center" scope="row">{{$index+1}}</td>
                            <td ng-class="{ 'has-error' : invalidFee($index,editForm,'USERNAME') &&  this.editForm.$submitted}">
                                <input type="text" autocomplete="off" class="form-control" name="USERNAME_{{$index}}"
                                       ng-model="it.USERNAME" ng-required="true"/>
                            </td>
                            <td>
                                <input type="text" autocomplete="off" class="form-control" name="POSITION_{{$index}}"
                                       ng-model="it.POSITION"/>
                            </td>
                            <td class="text-center">
                                <button class="btn td-btn bg-pink waves-effect"
                                        ng-click="delUser($index)" title="删除">
                                    删除
                                </button>
                            </td>
                        </tr>
                        <tr ng-if="userList.length<=0">
                            <td colspan="4" style="text-align:center">暂无数据</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <!--<div class="dj-formtable">
                <table class="dj-table">
                    <tr>
                        <th>派人谈话记录模板</th>
                        <td>
                            <select class="form-control show-tick"
                                    ng-model="applyModelId"
                                    ng-options="type.WORDTEMPLATEID as type.TITLE for type in applyModelList"
                                    class="form-control"
                                    name="applyModelName">
                                <option value="" selected>&#45;&#45;请选择&#45;&#45;</option>
                            </select>
                        </td>
                        <th style="background-color: white;border-left: none;border-right: none;"></th>
                        <td style="border-left: none;text-align: right;padding-right: 10px;">
                            <button type="button" class="btn btn-primary dropdown-toggle" title="导出word"
                                    ng-click="exportWord()">
                                导出word
                            </button>
                        </td>
                    </tr>
                    <tr>
                        <th>派人谈话记录</th>
                        <td colspan="3">
                            <textarea class="form-control" ng-model="dataModel.talkcontent" ui-ueditor></textarea>
                        </td>
                    </tr>
                    <tr>
                        <th>思想汇报</th>
                        <td colspan="3">
                            <textarea class="form-control" ng-model="dataModel.reportcontent" rows="5"></textarea>
                        </td>
                    </tr>
                </table>
            </div>-->
            <bsfiles ng-model="reqFileModel"/>
            <div class="form_foot" style="margin-top: 10px;">
                <button type="button" class="btn btn-default" ng-click="pagechange();">返回</button>
                <button type="submit"
                        class="btn btn-primary"
                        ng-click="submitData(this.editForm.$valid)">提交
                </button>
            </div>
        </form>
    </div>
</div>